const defaultState = {
    list: []
}

const reducer = (state = defaultState, action) => {
    const { type } = action
    switch (type) {
        case "ADD-DATA":
            return {
               ...state
            }
        default:
            return {
                ...state
            }
    }
}
export default reducer